package com.springcloud.demo.servera.server;

import com.springcloud.demo.base.vo.ResultVO;
import com.springcloud.demo.servera.server.fallback.ServerBFallback;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "cloud-server-b", path = "/server/b", fallback = ServerBFallback.class)
public interface IServerBFeign {

    @RequestMapping("/get")
    ResultVO<String> get();

    @RequestMapping("/insert")
    ResultVO<String> insert();
}
